package cn.dankal.lequ.commom.util;

/**
 * Created by IvanCai on 2015/11/6.
 */
public class ValidateUtil {
    public static boolean isUserNameLengthIllegal(String str) {
        return str.length() >= 3 && str.length() <= 12;

    }

    public static boolean isUserPasswLengthIllegal(String str) {
        return str.length() >= 6 && str.length() <= 16;

    }

    public static boolean isContainSpace(String str) {
        return str.contains(" ");
    }
}
